package cn.maihe.elg.operation.supports.guarantee;

import cn.maihe.elg.operation.supports.guarantee.dto.*;
import cn.maihe.elg.operation.supports.guarantee.enums.GuaranteeCode;

/**
 * @Description
 * @Author WJH
 * @Date 2021/05/10
 */
public interface GuaranteeServiceInterface {

    /**
     * 保函验签通道枚举
     */
    GuaranteeCode guaranteeCodeEnum();

    /**
     * 保函查验
     *
     * @param reqDTO
     * @return
     */
    BaseResponseDTO<GuaranteeInfoRespDTO> guaranteeInfo(GuaranteeInfoReqDTO reqDTO);


    /**
     * 根据文件Md5对文件验真
     * @param md5
     * @param reqDTO
     * @return
     */
    BaseResponseDTO<FileCheckRespDTO> fileCheck(String md5, FileCheckResDTO reqDTO);
}
